import request from '@/utils/request'

/**
 * 首页用户统计
 * @param query
 * @returns {AxiosPromise}
 */
export function countUser(query) {
  return request({
    url: '/index/count',
    method: 'get',
    params: query
  })
}

export function statisticsUserCount(query) {
  return request({
    url: '/statistics/user/count',
    method: 'get',
    params: query
  })
}

export function countListByDay(query) {
  return request({
    url: '/statistics/user/countListByDay',
    method: 'get',
    params: query
  })
}
